var search;

search = function() {
  var data;
  data = {
    data: $('.search-form form').serialize()
  };
  $.fn.yiiGridView.update('measurement-grid', data);
  return false;
};

$('#search').on('click', search);
